<?php

require_once ($path . 'autoloader.php');
error_reporting(E_ALL ^ E_NOTICE);
autoload_autoloader::init();

define('APP_PATH', $_SERVER['DOCUMENT_ROOT'] . '/');
session_start();
if (!isset($_SESSION['Front']))
    $_SESSION['Front'] = FrontController::getInstance();

$_SESSION['Front']->parse($_SERVER['REQUEST_URI']);
?>